//
//  ZYJNavigator.h
//  TravelingByCar
//
//  Created by Wendale on 15-3-3.
//  Copyright (c) 2015年 ZYJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "MALTabBarViewController.h"


@interface ICNavigator : NSObject
@property(nonatomic, strong)MALTabBarViewController *tabBarController;
@property (nonatomic, strong) UINavigationController* mainNav;

+ (ICNavigator *)sharedInstance;

+ (UIViewController *)getCurrentViewController;

+ (void)openRootVC;

+ (void)openLoginWithCompleteBlock:(void (^) (void))block;

+(void)openInputPhoneVCWithCompleteBlock:(void (^) (void))block;

+ (UINavigationController *)rootVC;

+ (void)pushViewController:(UIViewController *)vc animated:(BOOL)animated;

+ (void)popToRootViewControllerAnimated:(BOOL)animated;

+ (void)removeVC:(UIViewController*)vc;

+ (void)removeVC:(UIViewController *)vc from:(UINavigationController*)nav;

+ (void)presentViewController:(UIViewController *)vc animated:(BOOL)animated;

@end
